Leaplist: lessons learned in designing tm-supported range queries Citation
نویسندگان
چکیده
We introduce Leap-List, a concurrent data-structure that is tailored to provide linearizable range queries. A lookup in Leap-List takes O(log n) and is comparable to a balanced binary search tree or to a skip-list. However, in Leap-List, each node holds up-to K immutable key-value pairs, so collecting a linearizable range is K times faster than the same operation performed non-linearizably on a skip-list. We show how software transactional memory support in a commercial compiler helped us create an efficient lock-based implementation of Leap-List. We used this STM to implement short transactions which we call Locking Transactions (LT), to acquire locks, while verifying that the state of the data-structure is legal, and combine them with a transactional COP mechanism to enhance data structure traversals. We compare Leap-List to prior implementations of skip-lists, and show that while updates in the Leap-List are slower, lookups are somewhat faster, and for range-queries the Leap-List outperforms the skip-list’s non-linearizable range query operations by an order of magnitude. We believe that this data structure and its performance would have been impossible to obtain without the STM support.
منابع مشابه
Regionalization of the Iowa State University Extension System: Lessons Learned by Key Administrators
The cyclical economic downturn in the United States has forced many Extension administrators to rethink and adjust services and programming. The Cooperative Extension System (CES), the organization primarily responsible for governmental Extension work in the United States, at Iowa State University responded to this economic downturn by restructuring its organization from county based to a regio...
متن کاملImportant Lessons Learned From Nearly a Half-Century of Orthopedic Practice
“Those who cannot remember the past are condemned to repeat it” [1]. The famous quote from Hispanic American philosopher George Santayana reminds us of the critical importance of constantly reflecting on the most important lessons garnered from both our own personal experiences and those of our peers. In 49 years of academic orthopedic practice, I have frequently reflected on the most important...
متن کاملPsychosocial Rehabilitation: Some Lessons Learned From Natural Disaster in Iran
Background: Disasters have adverse impacts on different aspects of human life. Psychosocial Rehabilitation is one of the fields which is usually overshadowed and ignored by physical rehabilitation or its importance does not receive proper attention. This research attempts to study some lessons learned from Psychosocial Rehabilitation based on disaster experiences in Iran. M...
متن کاملLessons Learned from the Lorestan Flood Crisis: Relief Experience in Pol-e-Dokhtar Flood
This article has no abstract.
متن کاملMaintainability Studies Investigating Aspect Preservation via Automation: Lessons Learned
In the recent past the authors have conducted two experimental studies concerning the benefits of preserving modularity from design to code. In this paper we report on three key lessons learned in designing those investigations.
متن کامل